package org.jeecg.common.system.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class QueryRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页码，默认第 1 页")
    private int pageNo = 1;
    @ApiModelProperty(value = "每页显示多少条，默认 10 条")
    private int pageSize = 10;

    @ApiModelProperty(value = "排序的字段，默认 createTime （创建时间）")
    private String column;
    @ApiModelProperty(value = "是要正序（asc）还是倒叙（desc），默认 desc")
    private String order;
}
